//
// Created by vslab on 23-4-10.
//

#ifndef CODE_UTIL_H
#define CODE_UTIL_H
#include "msgs.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <map>
#include <iterator>
#include <string>

namespace GNSS
{
    class Util
    {
    public:
        Util();
        void initialize();
        void parse_line(std::string line);
        void parse_file(std::string filename);

    private:
        std::ofstream GGAOfs;
        std::ofstream GSVOfs;
        std::ofstream VTGOfs;
//        std::map<msg::msg_type, int> flag_controller;
    };



}



#endif //CODE_UTIL_H
